[INFO] cloning repository https://github.com/eduidl/rust-ffi-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eduidl/rust-ffi-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduidl%2Frust-ffi-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduidl%2Frust-ffi-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 55ae75112855ce81fc0f31ae21f4317f5942ab90
[INFO] fixing eduidl/rust-ffi-example against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduidl%2Frust-ffi-example" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/eduidl/rust-ffi-example
[INFO] finished tweaking git repo https://github.com/eduidl/rust-ffi-example
[INFO] tweaked toml for git repo https://github.com/eduidl/rust-ffi-example written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/eduidl/rust-ffi-example on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/eduidl/rust-ffi-example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2381aac083f5de1d48c668fa9265b0f7d2a8277bcd19558344a40934c1d2e9b6
[INFO] running `Command { std: "docker" "start" "2381aac083f5de1d48c668fa9265b0f7d2a8277bcd19558344a40934c1d2e9b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2381aac083f5de1d48c668fa9265b0f7d2a8277bcd19558344a40934c1d2e9b6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2381aac083f5de1d48c668fa9265b0f7d2a8277bcd19558344a40934c1d2e9b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2381aac083f5de1d48c668fa9265b0f7d2a8277bcd19558344a40934c1d2e9b6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating ffi-example-sys/Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Migrating ffi-example/Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling hashbrown v0.12.1
[INFO] [stderr]    Compiling os_str_bytes v6.1.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling indexmap v1.9.0
[INFO] [stderr]    Compiling libloading v0.7.3
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling bindgen v0.60.1
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling shlex v1.1.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking c_vec v2.0.0
[INFO] [stderr]    Compiling clap_lex v0.2.2
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling clang-sys v1.3.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v4.2.5
[INFO] [stderr]    Compiling clap v3.2.5
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling ffi-example-sys v0.1.0 (/opt/rustwide/workdir/ffi-example-sys)
[INFO] [stderr]    Migrating ffi-example-sys/build.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating ffi-example-sys/src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Checking ffi-example v0.1.0 (/opt/rustwide/workdir/ffi-example)
[INFO] [stderr]    Migrating ffi-example/src/main.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.81s
[INFO] [stderr] crater-edition-check: ffi-example-sys v0.1.0 (/opt/rustwide/workdir/ffi-example-sys) updating edition from 2018 to 2021
[INFO] [stderr] crater-edition-check: ffi-example v0.1.0 (/opt/rustwide/workdir/ffi-example) updating edition from 2018 to 2021
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling ffi-example-sys v0.1.0 (/opt/rustwide/workdir/ffi-example-sys)
[INFO] [stderr]     Checking ffi-example v0.1.0 (/opt/rustwide/workdir/ffi-example)
[INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries`
[INFO] [stdout]   --> ffi-example/src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     #[allow(temporary_cstring_as_ptr)]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries`
[INFO] [stdout]   --> ffi-example/src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     #[allow(temporary_cstring_as_ptr)]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> ffi-example/src/main.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     drop(slice);
[INFO] [stdout]    |     ^^^^^-----^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          argument has type `&[i32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 47 -     drop(slice);
[INFO] [stdout] 47 +     let _ = slice;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> ffi-example/src/main.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     drop(slice);
[INFO] [stdout]    |     ^^^^^-----^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          argument has type `&[i32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 47 -     drop(slice);
[INFO] [stdout] 47 +     let _ = slice;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.46s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating ffi-example-sys/Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Migrating ffi-example/Cargo.toml from 2018 edition to 2021
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Checking ffi-example-sys v0.1.0 (/opt/rustwide/workdir/ffi-example-sys)
[INFO] [stderr]     Checking ffi-example v0.1.0 (/opt/rustwide/workdir/ffi-example)
[INFO] [stderr]    Migrating ffi-example/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating ffi-example-sys/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed /opt/rustwide/target/debug/build/ffi-example-sys-c8a9e16d32d1fc1e/out/bindings.rs (5 fixes)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.81s
[INFO] [stderr] crater-edition-check: ffi-example-sys v0.1.0 (/opt/rustwide/workdir/ffi-example-sys) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: ffi-example v0.1.0 (/opt/rustwide/workdir/ffi-example) updating edition from 2021 to 2024
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling ffi-example-sys v0.1.0 (/opt/rustwide/workdir/ffi-example-sys)
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/ffi-example-sys-c8a9e16d32d1fc1e/out/bindings.rs:3:1447
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ; } extern "C" { pub fn sum (arr : * const :: std :: os :: raw :: c_int , size : usize) -> :: std :: os :: raw :: c_int ; } exter...
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/ffi-example-sys-c8a9e16d32d1fc1e/out/bindings.rs:3:1447
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ; } extern "C" { pub fn sum (arr : * const :: std :: os :: raw :: c_int , size : usize) -> :: std :: os :: raw :: c_int ; } exter...
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/ffi-example-sys-c8a9e16d32d1fc1e/out/bindings.rs:3:1567
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...aw :: c_int ; } extern "C" { pub fn get_sequential_array (size : usize) -> * mut :: std :: os :: raw :: c_int ; } extern "C" { pub...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/ffi-example-sys-c8a9e16d32d1fc1e/out/bindings.rs:3:1567
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...aw :: c_int ; } extern "C" { pub fn get_sequential_array (size : usize) -> * mut :: std :: os :: raw :: c_int ; } extern "C" { pub...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/ffi-example-sys-c8a9e16d32d1fc1e/out/bindings.rs:3:1665
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...:: os :: raw :: c_int ; } extern "C" { pub fn free_array (arr : * mut :: std :: os :: raw :: c_int) ; } extern "C" { pub fn print_...
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/ffi-example-sys-c8a9e16d32d1fc1e/out/bindings.rs:3:1665
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...:: os :: raw :: c_int ; } extern "C" { pub fn free_array (arr : * mut :: std :: os :: raw :: c_int) ; } extern "C" { pub fn print_...
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/ffi-example-sys-c8a9e16d32d1fc1e/out/bindings.rs:3:1743
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... os :: raw :: c_int) ; } extern "C" { pub fn print_str (str_ : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn hell...
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/ffi-example-sys-c8a9e16d32d1fc1e/out/bindings.rs:3:1743
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... os :: raw :: c_int) ; } extern "C" { pub fn print_str (str_ : * const :: std :: os :: raw :: c_char) ; } extern "C" { pub fn hell...
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/ffi-example-sys-c8a9e16d32d1fc1e/out/bindings.rs:3:1824
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...:: os :: raw :: c_char) ; } extern "C" { pub fn hello () -> * const :: std :: os :: raw :: c_char ; }
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/ffi-example-sys-c8a9e16d32d1fc1e/out/bindings.rs:3:1824
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...:: os :: raw :: c_char) ; } extern "C" { pub fn hello () -> * const :: std :: os :: raw :: c_char ; }
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ffi-example-sys` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ffi-example-sys` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "2381aac083f5de1d48c668fa9265b0f7d2a8277bcd19558344a40934c1d2e9b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2381aac083f5de1d48c668fa9265b0f7d2a8277bcd19558344a40934c1d2e9b6", kill_on_drop: false }`
[INFO] [stdout] 2381aac083f5de1d48c668fa9265b0f7d2a8277bcd19558344a40934c1d2e9b6
